__author__ = 'sergey'

try:
    # Python 3
    from socketserver import ThreadingUDPServer as Server
except:
    # Python 2
    from SocketServer import ThreadingUDPServer as Server

from jsonrpc.sendmsg import max_packet_size

Server.request_queue_size = 1024
Server.allow_reuse_address = True
Server.max_packet_size = max_packet_size